package testing;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;

public class TestTheServer
{

	/**
	 * @param args
	 */
	static final int PORT_NUMBER = 10055;

	public static void main(String[] args)
	{
		String input;
		try
		{
			Socket sock = new Socket("localhost", PORT_NUMBER);
			sock.setTcpNoDelay(false);
			BufferedReader in = new BufferedReader(new InputStreamReader(
					sock.getInputStream()));
			PrintWriter out = new PrintWriter(sock.getOutputStream(), true);

			out.println(1);
			out.println(2);
			sock.close();
			
		}
		catch (UnknownHostException e)
		{
			e.printStackTrace();
		}
		catch (IOException e)
		{
			e.printStackTrace();
		}

	}

	public static void disconnect(Socket sock)
	{

	}

}
